#include "frontieregraphics.h"
#include "frontiere.h"

FrontiereGraphics::FrontiereGraphics(Frontiere *frontiere) :
    QObject(), QGraphicsItem()
{
    this->frontiere = frontiere;
    connect(frontiere, SIGNAL(adjust()), this , SLOT(adjust()));

    adjust();
}

void FrontiereGraphics::adjust()
{

}

QRectF FrontiereGraphics::boundingRect() const
{
    return QRectF();
}

void FrontiereGraphics::paint(QPainter *painter, const QStyleOptionGraphicsItem *, QWidget *)
{
    Q_UNUSED(painter);
}
